import axios from "axios";

axios.interceptors.response.use(
    response => {
        return response.data
    },
    error => {
        return Promise.reject(error)
    }
)

function Http(url) {
    return axios({
        baseURL: '/src/source',
        url,
        method: 'get'
    })
}

export { Http }